package org.example.dormsystem.mapper;

import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Select;
import org.example.dormsystem.pojo.Dormitory;

import java.util.List;

@Mapper
public interface FloorMapper {

    @Select("select * from dormitory where floorNumber = #{floorNumber}")
    List<Dormitory> findRoomNumberByFloorNumber(String floorNumber);
}
